package com.ruicar.afs.cloud.afscase.risk.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruicar.afs.cloud.common.core.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description
 * @Author Peng Jinbo
 * @Date 2020/09/11 16:39
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("case_tortoise_exposure_except")
public class CaseTortoiseExposureExcept extends BaseEntity {

    @JsonSerialize(using= ToStringSerializer.class)
    @JSONField(serializeUsing = com.alibaba.fastjson.serializer.ToStringSerializer.class)
    @TableId(type = IdType.AUTO)
    private Long id;

    private String companyName;

}
